﻿@using ABC.Controllers.ViewModels.My
@model MyTopMenuViewModel
<div class="navbar navbar-fixed-top nav1">
    <div class="navbar-inner">
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span
            class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
        </a>
        <div class="container">
            <a class="brand" href="@Url.Action("Index", "My")">Азбука24</a>
            <div class="nav-collapse">
                <form class="navbar-search pull-left" method="POST" action="@Url.Action("Search", "Search", new { area = "My" })" >
                <input type="text" class="search-query" placeholder="Поиск по системе">
                <input type="submit" value="" class="submit-on-enter hide" />
                </form>
                <ul class="nav pull-right">
                    <li><a href="@Url.Action("Index", "Help")">Помощь</a></li>
                    <li class="divider-vertical"></li>
                    <li><a href="#" rel="tooltip" title="12 новых уведомлений"><i class="icon-bullhorn">
                    </i>12</a></li>
                    <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown"><i
                        class="icon-user"></i> @Model.CurrentUser.FullName<b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="@Url.Action("Index", "My")"><i class="icon-external-link"></i>Моя страница</a></li>
                            <li><a href="@Url.Action("Index", "Account")"><i class="icon-cog"></i>Настройки аккаунта</a></li>
                            <li class="divider"></li>
                            <li><a href="@Url.Action("Logoff", "Guest", new {area = ""})"><i class="icon-signout"></i>Выход</a> </li>
                        </ul>
                </ul>
            </div>
        </div>
    </div>
</div>
